home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / pgp20src.zip / LANGUAGE.H < prev    next >
C/C++ Source or Header  |  1992-08-31  |  1KB  |  34 lines

  1. /*
  2.  *    language.h
  3.  *    Include file for PGP foreign language translation facility
  4.  */
  5.  
  6.  
  7. /* Strings with PSTR() around them are found by automatic tools and put
  8.  * into the special text file to be translated into foreign languages.
  9.  * PSTR () (note the space between 'R' and '(') should be used if there
  10.  * is no string to be extracted (eg. prototype).
  11.  */
  12.  
  13. extern char    *PSTR (char *s);
  14.  
  15. extern char language[]; /* language selector prefix for string file */
  16.  
  17. /* Internal/External representation conversion macros for conversion of
  18.  * user ID's (will be implemented in a future release of PGP, now they
  19.  * are just dummies)
  20.  */
  21. #define    INTERNAL(s)          /* String to internal string (at same place) */
  22. #define    EXTERNAL(s)        s /* String to external string */
  23.  
  24. extern char INT_C(char c);      /* Char to internal char */
  25. extern char EXT_C(char c);      /* Char to external char */
  26.  
  27. /* Plaintext files import/export conversion modes */
  28.  
  29. #define NO_CONV  0      /* No conversion needed */
  30. #define INT_CONV 1      /* Convert text to internal representation */
  31. #define EXT_CONV 2      /* Convert text to external representation */
  32.  
  33. extern int CONVERSION;  /* Global var to rule copyfiles */
  34.